package com.lylg.picture_share.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@Data

public class Image implements Serializable {
    private Integer image_id;
    private Integer type_id;
    private Integer manager_id;
    private Integer user_id;
    private String  image_name;
    private String  image_url;
    private Date image_time;
    private String image_status;
    private Integer image_play ;
    private Integer image_good;
    private String image_pass_status;
    private ImageType imageType;
    private User user;
    private Manager manager;

    @Override
    public String toString() {
        return "Image{" +
                "image_id=" + image_id +
                ", type_id=" + type_id +
                ", manager_id=" + manager_id +
                ", user_id=" + user_id +
                ", image_name='" + image_name + '\'' +
                ", image_url='" + image_url + '\'' +
                ", image_time=" + image_time +
                ", image_status='" + image_status + '\'' +
                ", image_play=" + image_play +
                ", image_good=" + image_good +
                ", image_pass_status='" + image_pass_status + '\'' +
                ", imageType=" + imageType +
                ", user=" + user +
                ", manager=" + manager +
                '}';
    }

    public Image() {
    }

    public Integer getImage_id() {
        return image_id;
    }

    public void setImage_id(Integer image_id) {
        this.image_id = image_id;
    }

    public Integer getType_id() {
        return type_id;
    }

    public void setType_id(Integer type_id) {
        this.type_id = type_id;
    }

    public Integer getManager_id() {
        return manager_id;
    }

    public void setManager_id(Integer manager_id) {
        this.manager_id = manager_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getImage_name() {
        return image_name;
    }

    public void setImage_name(String image_name) {
        this.image_name = image_name;
    }

    public String getImage_url() {
        return image_url;
    }

    public void setImage_url(String image_url) {
        this.image_url = image_url;
    }

    public Date getImage_time() {
        return image_time;
    }

    public void setImage_time(Date image_time) {
        this.image_time = image_time;
    }

    public String getImage_status() {
        return image_status;
    }

    public void setImage_status(String image_status) {
        this.image_status = image_status;
    }

    public Integer getImage_play() {
        return image_play;
    }

    public void setImage_play(Integer image_play) {
        this.image_play = image_play;
    }

    public Integer getImage_good() {
        return image_good;
    }

    public void setImage_good(Integer image_good) {
        this.image_good = image_good;
    }

    public String getImage_pass_status() {
        return image_pass_status;
    }

    public void setImage_pass_status(String image_pass_status) {
        this.image_pass_status = image_pass_status;
    }

    public ImageType getImageType() {
        return imageType;
    }

    public void setImageType(ImageType imageType) {
        this.imageType = imageType;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Manager getManager() {
        return manager;
    }

    public void setManager(Manager manager) {
        this.manager = manager;
    }

    public Image(Integer image_id, Integer type_id, Integer manager_id, Integer user_id, String image_name, String image_url, Date image_time, String image_status, Integer image_play, Integer image_good, String image_pass_status, ImageType imageType, User user, Manager manager) {
        this.image_id = image_id;
        this.type_id = type_id;
        this.manager_id = manager_id;
        this.user_id = user_id;
        this.image_name = image_name;
        this.image_url = image_url;
        this.image_time = image_time;
        this.image_status = image_status;
        this.image_play = image_play;
        this.image_good = image_good;
        this.image_pass_status = image_pass_status;
        this.imageType = imageType;
        this.user = user;
        this.manager = manager;
    }
}
